/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.acq.entity.userarea;

import com.thinkgem.jeesite.modules.sys.entity.User;
import javax.validation.constraints.NotNull;
import com.thinkgem.jeesite.modules.sys.entity.Area;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 区域录入员管理Entity
 * @author lj
 * @version 2018-05-01
 */
public class AcqUserArea extends DataEntity<AcqUserArea> {
	
	private static final long serialVersionUID = 1L;
	private User user;		// user_id
	private Area area;		// area_id
	
	public AcqUserArea() {
		super();
	}

	public AcqUserArea(String id){
		super(id);
	}

	@NotNull(message="user_id不能为空")
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	@NotNull(message="area_id不能为空")
	public Area getArea() {
		return area;
	}

	public void setArea(Area area) {
		this.area = area;
	}
	
}